Instead of using boolean literals or null in an equality with assertSame() or assertEquals(), it is recommended to rely
on the alternative functions assertTrue(), assertFalse(), assertNull(), and assertNotNull().
Noncompliant code example
assertEquals(true, $x); // Noncompliant {{Use assertTrue() instead.}}
assertNotEquals(false, $x); // Noncompliant {{Use assertTrue() instead.}}
assertSame(null, $x); // Noncompliant {{Use assertNull() instead.}}
assertNotSame(true, $x); // Noncompliant {{Use assertFalse() instead.}}
Compliant solution
assertTrue($x); // Compliant
assertFalse($x); // Compliant
assertNull($x); // Compliant
assertNotNull($x); // Compliant